package com.netease.pris.a;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Build.VERSION;

public class q
{
  public static final int a = 1;
  public static final int b = 2;
  public static final int c = 3;
  public static final int d = 4;
  public static final int e = 5;
  public static final int f = 6;
  public static final int g = 7;
  public static final int h = 8;
  public static final int i = 9;
  public static final int j = 10;
  public static final int k = 11;
  public static final int l = 12;
  public static final int m = 13;
  public static final int n = 14;
  public static final int o = 15;

  public static int a()
  {
    try
    {
      int i2 = Integer.valueOf(Build.VERSION.SDK).intValue();
      i1 = i2;
      return i1;
    }
    catch (NumberFormatException localNumberFormatException)
    {
      while (true)
        int i1 = 5;
    }
  }

  public static String a(Context paramContext)
  {
    String str = "?";
    try
    {
      str = paramContext.getPackageManager().getPackageInfo(paramContext.getPackageName(), 0).versionName;
      return str;
    }
    catch (PackageManager.NameNotFoundException localNameNotFoundException)
    {
      while (true)
        localNameNotFoundException.printStackTrace();
    }
  }

  public static String b()
  {
    return Build.VERSION.RELEASE;
  }

  public static String b(Context paramContext)
  {
    Object localObject = "?";
    try
    {
      String str = paramContext.getString(paramContext.getPackageManager().getPackageInfo(paramContext.getPackageName(), 0).applicationInfo.labelRes);
      localObject = str;
      return localObject;
    }
    catch (PackageManager.NameNotFoundException localNameNotFoundException)
    {
      while (true)
        localNameNotFoundException.printStackTrace();
    }
  }

  public static String c()
  {
    switch (a())
    {
    default:
    case 6:
    }
    for (String str = b(); ; str = "2.0Later")
      return str;
  }

  public static boolean d()
  {
    if (a() < 8);
    for (int i1 = 1; ; i1 = 0)
      return i1;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.a.q
 * JD-Core Version:    0.6.0
 */